Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@solid-primitives/utils

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/utils

A bunch of reactive utility types and functions, for building primitives with Solid.js

  • 0.2.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
112K
decreased by-6.21%
Maintainers
3
Weekly downloads
 
Created
Source

@solid-primitives/utils

Solid Primitives Utilities is a support and helper package for a number of primitives in our library. Please free to augment or centralize useful utilities and methods in this package for sharing.

Installation

npm install @solid-primitives/utils
# or
yarn add @solid-primitives/utils

Package Entries

  • * - @solid-primitives/utils - General utility functions and types for authoring primitives.
  • /fp - @solid-primitives/utils/fp - Helpers for making changes to immutable data.
  • /setter - @solid-primitives/utils/setter - Modified helpers from the /fp, but optimized for usage with signal setters.

Import accordingly.

import { access, promiseTimeout, MaybeAccessor } from "@solid-primitives/utils";

// between these two some function names will overlap.
import { pick, omit, filter } from "@solid-primitives/utils/fp";
import { push, filter, drop } from "@solid-primitives/utils/setter";

>>> Modules documentation <<<

Documentation auto-generated from the Typescript source files using typedoc + markdown plugin.

Changelog

Expand Changelog

0.0.100

First commit of the timer primitive.

0.0.250

Republished version with better ESM support and build tooling.

0.0.260

Added comments for util methods.

0.1.0

Add /fp and /setter export entries. Add destore and raceTimeout util. More jsdoc.

0.1.2

Updated to Solid 1.3

0.1.3

Minor upgrades.

Keywords

FAQs

Package last updated on 17 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc